package team.hyznrj.studentsys;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;

@EnableCaching
@SpringBootApplication
//@ServletComponentScan   //servlet filter扫描
@EnableJpaRepositories("team.hyznrj.studentsys.dao.repository")
@MapperScan(basePackages = "team.hyznrj.studentsys.dao.mapper")
public class StudentsysApplication {
    public static void main(String[] args) {
    	
        SpringApplication.run(StudentsysApplication.class, args);
    }
}